﻿<UserControl x:Class="BaseStatisticControlLibrary.Views.OverallStatisticsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal">
            <TextBlock >Count of statistics</TextBlock>
            <TextBlock Margin="5,0" Name="CountOfStatistics"/>
            <TextBlock >Count of controls</TextBlock>
            <TextBlock Margin="5,0" Name="CountOfReportings"/>
        </StackPanel>
        <DataGrid Grid.Row="1" ItemsSource="{Binding StatisticResultsTable}" AutoGenerateColumns="True"></DataGrid>
    </Grid>
</UserControl>
